<include file="Public:header" />
<table class="table table-striped">
	<tr>
		<td>{$user.id}</td>
		<td>{$user.num}</td>
	</tr>
	<tr>
		<td>{:L('_CURRENT_ROLE')}</td>
		<td>
		<foreach name="userRoles" item="role">
         {$role.role_name}
        </foreach>
        </td>
    </tr>
</table>
<form action="" method="post">
<table class="table table-striped">
	<tr>
		<td>{:L('_ALL_ROLE')}</td>
		<td></td>
	</tr>
	<foreach name="roles" item="role">
            <tr>
                <td>
                    {$role.name}
                </td>
                <td>
                    <input type="radio" name="role" value="{$role.id}">
                </td>
            </tr>
    </foreach>
    <tr>
    	<td colspan="2">
    		<input type="submit" value="{:L('_UPDATE')}" class="btn">
    	</td>
    </tr>
</table>
</form>
<include file="Public:footer" />